package com.dominator.service;

import com.dominFramework.core.typewrap.Dto;
import com.dominator.utils.api.ApiMessage;
import com.dominator.utils.exception.ApiException;

public interface ApiGoodsService {


    /**
     * 获取商品列表
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage getGoodsList (Dto dto) throws ApiException;


    /**
     * 购买商品送积分
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage  buygoodsAwardPoints(Dto dto) throws ApiException;

}
